﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SmartDatingService {
    public static class Constants {
        /* Asymmetric Encryption for Key Exchange */
        // Public and secret keys
        public const string SERVER_KEYS = "<RSAKeyValue><Modulus>h4o5A05pQGhheQHzOkX5L1zhCaYy9F4c7h0wZbS6mLOwNHBxq3Yo8HimNaGLrafXkLJ1ekBw1E6VrO3m6MiMuKXFCLcZhoASHiLaeEqKMtAVdWjuXKwIM5uNjVub/HLcIzSpXGLHg+ngxas2AH9Yche4/fsh3IbPgvlGNfPC4ns=</Modulus><Exponent>AQAB</Exponent><P>uknVPIZK2DJaHqii8vNTBEY2oG3T0OFGp9XqvNF0MsrjKIl/HD3RyABN0gygNFuktnx1mcDrB2fKQEmXwnOS+w==</P><Q>ukLB1JTfGjXYxAsafFwD2KoF+kTeMFwW4p+apE03iSJ3fwVmgXYepKTm225h2a1r/iLkZLPh2fAXdnp4T3jWgQ==</Q><DP>E4FTkGjHQWfUQ82IckPD93iak6WsPfy4dy5Qy8BqmD7iFgZ/hqd6ZaSSgWHNDG5kCq9xaM3oTfgyFxUdjMCpLQ==</DP><DQ>oDo3NaEPPyPdIeAPW7VoFaVFWSKPJHjDsxXrWLWYNZ7xvtIteObcu3OjqFYPVMsroEXxxXM8sVcpR+FYx7zCgQ==</DQ><InverseQ>kqG2nz26gYJkNFGfqUrNhKwBULRcvIc3bWBlaprb/1carcXCafU95WndVDaxxa+L6lw6aaTJ7w+hA1SgJpwDrw==</InverseQ><D>DEdQTOVgkY4jLmQn1aKbJVhDpq0gtpSECGoqhTwvH0A/+TAqi/7jTI2ReRBOaAfpdllEXTPTRNhtpMHUhkgMv1e9JkaEWXwX5ZDlMU5E8cIAIDpGm3pnb6cSxz5A9fvse8yUlifaUyUoLUVfGEfJiigBHaL5Ro6V3Mz6n1XrKQE=</D></RSAKeyValue>";

        /* Symmetric Encryption for Data Exchange */
        // IV (initialization vector)
        public static byte[] ENCRYPTION_IV = { 205, 34, 115, 23, 87, 30, 7, 71, 92, 43, 68, 45, 22, 3, 19, 38 };
        // salt
        public static byte[] SALT = { 37, 45, 96, 88, 17, 5, 2, 250, 76 };
        // key derivation, # of iterations
        public const int ITERATIONS = 5000;
        // Key size, bits
        public const int KEY_SIZE = 256;
    }
}